package com.easy.secret.enums;

/**
 * @ProjectName: esay-secret-server
 * @Package: com.easy.secret.enums
 * @ClassName: RSAMode
 * @Description: java类作用描述
 * @Author: wangjc
 * @CreateDate: 2023/11/17
 * @UpdateUser: wangjc
 * @UpdateDate: 2023/11/17
 * @UpdateRemark: 更新内容
 * @Version: 1.0
 */
public enum RSAMode {
    NO("RSA/ECB/NoPadding"),
    OAEP("RSA/ECB/OAEPPadding"),
    PKCS1("RSA/ECB/PKCS1Padding"),
    OAEP_SHA1("RSA/ECB/OAEPWithSHA-1AndMGF1Padding"),
    OAEP_SHA256("RSA/ECB/OAEPWithSHA-256AndMGF1Padding");

    private String name;

    private RSAMode(String name) {
        this.name = name;
    }

    public String getName() {
        return this.name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
